package com.lulu.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lulu.common.model.entity.UserInterfaceInfo;

/**
* @author Administrator
* @description 针对表【user_interface_info(用户调用接口关系)】的数据库操作Service
* @createDate 2024-12-01 15:15:19
*/
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {
    /**
     * 校验
     *
     * @param userInterfaceInfo
     * @param add 是否为创建校验
     */
    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean add);

    boolean invokeCount(Long userId,Long interfaceInfoId);

    UserInterfaceInfo getUserInterfaceInfo(Long userId, Long interfaceInfoId);
}
